<%@ page import="com.jlee.SecUser" %>



<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'userId', 'error')} required">
	<label for="userId">
		<g:message code="secUser.userId.label" default="User Id" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="userId" type="number" value="${secUserInstance.userId}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'nickName', 'error')} ">
	<label for="nickName">
		<g:message code="secUser.nickName.label" default="Nick Name" />
		
	</label>
	<g:textField name="nickName" value="${secUserInstance?.nickName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'realName', 'error')} ">
	<label for="realName">
		<g:message code="secUser.realName.label" default="Real Name" />
		
	</label>
	<g:textField name="realName" value="${secUserInstance?.realName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'account', 'error')} ">
	<label for="account">
		<g:message code="secUser.account.label" default="Account" />
		
	</label>
	<g:textField name="account" value="${secUserInstance?.account}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'pwd', 'error')} ">
	<label for="pwd">
		<g:message code="secUser.pwd.label" default="Pwd" />
		
	</label>
	<g:textField name="pwd" value="${secUserInstance?.pwd}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'logo', 'error')} ">
	<label for="logo">
		<g:message code="secUser.logo.label" default="Logo" />
		
	</label>
	<g:textField name="logo" value="${secUserInstance?.logo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'birthday', 'error')} ">
	<label for="birthday">
		<g:message code="secUser.birthday.label" default="Birthday" />
		
	</label>
	<g:datePicker name="birthday" precision="day"  value="${secUserInstance?.birthday}" default="none" noSelection="['': '']" />
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'sex', 'error')} required">
	<label for="sex">
		<g:message code="secUser.sex.label" default="Sex" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="sex" type="number" value="${secUserInstance.sex}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'phone', 'error')} ">
	<label for="phone">
		<g:message code="secUser.phone.label" default="Phone" />
		
	</label>
	<g:textField name="phone" value="${secUserInstance?.phone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'email', 'error')} ">
	<label for="email">
		<g:message code="secUser.email.label" default="Email" />
		
	</label>
	<g:textField name="email" value="${secUserInstance?.email}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'organizationId', 'error')} ">
	<label for="organizationId">
		<g:message code="secUser.organizationId.label" default="Organization Id" />
		
	</label>
	<g:textField name="organizationId" value="${secUserInstance?.organizationId}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'lastUpdateTime', 'error')} ">
	<label for="lastUpdateTime">
		<g:message code="secUser.lastUpdateTime.label" default="Last Update Time" />
		
	</label>
	<g:datePicker name="lastUpdateTime" precision="day"  value="${secUserInstance?.lastUpdateTime}" default="none" noSelection="['': '']" />
</div>

<div class="fieldcontain ${hasErrors(bean: secUserInstance, field: 'lastLoginTime', 'error')} ">
	<label for="lastLoginTime">
		<g:message code="secUser.lastLoginTime.label" default="Last Login Time" />
		
	</label>
	<g:datePicker name="lastLoginTime" precision="day"  value="${secUserInstance?.lastLoginTime}" default="none" noSelection="['': '']" />
</div>

